<div class="sidebar_head">目录一览</div>
<div class="sidebar2">
<ul>
<cms type="cate" action="menu" />
<loop>
<!--#if($cid==$val[cid]){$class="here";}else{$class='';}#-->
<li><a href="list.php?cid=$val[cid]" class="$class">$val[cname] ($val[total])</a></li>
</loop>
</ul>
</div>